package edu.cqie.dao;

import edu.cqie.dao.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * StudentController
 *
 * @description:
 * @Author XiaoZhou
 * @Date 2023/10/19 16:14
 */
@Controller
public class StudentController {
    @Autowired
    private StudentService studentService;

    public void addStudentr() {
        System.out.println("执行Controller逻辑");
        studentService.add();
    }

}
